﻿#ifndef NctiOperatingKey_H
#define NctiOperatingKey_H
#include "dcl_ncti_pubfun.h"
#include "NctiRenderOperator.h"
#include <functional>
namespace NCTI
{
	class NctiBaseModel;
	class DECL_NCTI_PUBFUN NctiOperatingKey : public NctiRenderOperator
	{
	public:
		NctiOperatingKey(NctiBaseModel* pBaseModel,NctiBaseView*view);
		virtual ~NctiOperatingKey();
	public:
		virtual Ncti_Boolean OnKeyDown(NctiRenderKeyboardState* in_state);
		virtual Ncti_Boolean OnKeyUp(NctiRenderKeyboardState* in_state);
	private:
		NctiBaseModel* m_pBaseModel;
		Ncti_Boolean m_KeyRun;
	};
}
#endif
